
import { Entity, PrimaryGeneratedColumn, Column, BaseEntity, ManyToOne, OneToMany, JoinColumn, ManyToMany, JoinTable } from 'typeorm';

@Entity('system_role_menus')
export class SystemRoleMenus extends BaseEntity {
  @PrimaryGeneratedColumn()
  id: number;

  @Column({ default: 0, comment: '角色id' })
  role_id: number;

  @Column({ default: 0, comment: '菜单id' })
  menu_id: number;
}
